﻿namespace RBAC_Uthorization.API.DTO.Request.UserInfo
{
    public class UserInfoCreateDto
    {
        /// <summary>
        /// 系统编号
        /// </summary>
        public string sys_id { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string Offic_name { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string login_name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string password { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string? no { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? name { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? email { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? phone { get; set; }
        /// <summary>
        /// 用户类型
        /// </summary>
        public int user_type { get; set; } = 0;
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; } = 0;
        /// <summary>
        /// 管理员类型
        /// </summary>
        public int mgr_type { get; set; } = 0;
        /// <summary>
        /// 用户头像
        /// </summary>
        public string? avatar { get; set; }
        /// <summary>
        /// 公司到期时间
        /// </summary>
        public DateTime end_date { get; set; }
        /// <summary>
        /// 是否可用
        /// </summary>
        public int useable { get; set; } = 1;
    }
}
